package com.ruoyi.rsikManage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报警发往的url对象 t_alarm_sending_url
 *
 * @author ljw
 * @date 2023-11-06
 */
public class AlarmSendingUrlConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Integer id;

    /** 报警信息发往的url地址 */
    @Excel(name = "报警信息发往的url地址")
    private String url;

    /** 报警种类 */
    @Excel(name = "报警种类")
    private String alarmType;

    public Integer getId() {
        return id;
    }

    public AlarmSendingUrlConfig setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getUrl() {
        return url;
    }

    public AlarmSendingUrlConfig setUrl(String url) {
        this.url = url;
        return this;
    }

    public String getAlarmType() {
        return alarmType;
    }

    public AlarmSendingUrlConfig setAlarmType(String alarmType) {
        this.alarmType = alarmType;
        return this;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("url", getUrl())
                .append("alarmType", getAlarmType())
                .toString();
    }
}
